package com.woniu.orderservice.dao;

import com.woniu.orderservice.entity.Reasons;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface ReasonsDao {
    Reasons queryById(Integer id);

    List<Reasons> queryAllByLimit(@Param("offset") int offset, @Param("limit") int limit);
    
    List<Reasons> findAll();

    List<Reasons> queryAll(Reasons reasons);

    int insert(Reasons reasons);

    int update(Reasons reasons);

    int deleteById(Integer id);

}